﻿import random
print("输入1-33的数字")
salary = set()
salary2 = set()
i=0
try :
    while i < 8:
        salary.add(eval(input("请输入中奖号码:")))
        print(salary)
        salary2.add(random.randint(1,33))
        i = i + 1
except Exception:
    print("输入的不是1-33整数")
ikun = len(salary)-len(salary & salary2)
print(salary)
print(salary2)
if len(ikun) == 0:
    print("一等奖")
if len(ikun) == 1:
    print("二等奖")
if len(ikun) == 2:
    print("三等奖")
if len(ikun) == 3:
    print("四等奖")
